package sz.szsmk.citizencard.model.network.bean.response;

import java.io.Serializable;
import java.util.List;
import sz.szsmk.citizencard.model.network.bean.response.BaseBean;

/**
 * Created by hyt on 2019/4/29.
 */
public class CouponListBean extends BaseBean implements Serializable {
    private List<CouponBean> data;

    public List<CouponBean> getData() {
        return data;
    }

    public void setData(List<CouponBean> data) {
        this.data = data;
    }

    public static class CouponBean  implements Serializable {
        /**
         * type : 1
         * usedCount : 0
         * totalCount : 3
         */
        /**
         * 用户优惠券id
         */
        private Integer couponUserId;

        /**
         * 用户优惠券状态 0 已失效 1 未使用 2 已使用
         */
        private Integer status;

        /**
         * 领取类型
         */
        private Integer getType;

        /**
         * 使用时间
         */
        private String useTime;

        /**
         * 生效时间
         */
        private String effectTime;

        /**
         * 失效时间
         */
        private String expiredTime;

        /**
         * 核销码
         */
        private String code;

        /**
         * 随机金额
         */
        private Integer randomMoney;

        /**
         * 第三方用户优惠券Id
         */
        private String extendId;

        /**
         * 第三方优惠券核销码
         */
        private String extendCode;

        /**
         * 优惠券id
         */
        private Integer couponId;

        /**
         * 优惠券名称
         */
        private String name;

        /**
         * 优惠券规则id
         */
        private Integer couponRuleId;

        /**
         * 优惠券承担方id
         */
        private Integer costPartnerId;

        /**
         * 优惠券场景id
         */
        private Integer sceneId;

        /**
         * 发行量
         */
        private Integer count;

        /**
         * 每日使用限制开始时间
         */
        private Integer limitStart;

        /**
         * 每日使用限制结束时间
         */
        private Integer limitEnd;

        /**
         * 有效期类型
         */
        private Integer validType;

        /**
         * 有效期
         */
        private Integer validValue;

        /**
         * 创建员工
         */
        private String systemUserId;

        /**
         * 描述
         */
        private String description;

        /**
         * 创建时间
         */
        private String createTime;

        /**
         * 更新时间
         */
        private String updateTime;

        /**
         * 优惠金额
         */
        private Integer preferentialMoney;

        /**
         *  优惠类型
         */
//        private Integer type;

        /**
         *  规则名称
         */
        private String ruleName;

        /**
         * 最低消费金额限制
         */
        private Integer minTradeMoney;

        /**
         * 折扣率
         */
        private Integer discountRate;

        /**
         * 随机金额立减上限
         */
        private Integer maxFee;

        /**
         * 是否可重复领用
         */
        private Integer repeatable;

        /**
         * 随机金额立减下限
         */
        private Integer minFee;

        /**
         * 是否可叠加
         */
        private Integer combine;

        /**
         * 可重复领用次数
         */
        private Integer repeatableCount;

        /**
         * 可叠加张数
         */
        private Integer combineCount;

        /**
         * 绑定类型
         * 0：全品类   1：商品  2： 商户全品  3：商户限品
         *
         */
        private Integer bindType;

        /**
         * 商户Id
         */
        private String merchantId;

        /**
         * 商品Id
         */
        private String goodsId;

        /**
         * 区域Id
         */
        private String regionId;

        /**
         * 类别Id
         */
        private Integer categoryId;

        /**
         * 活动
         *
         */
        private Integer activityId;
        private String type;
        private int usedCount;
        private int totalCount;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public int getUsedCount() {
            return usedCount;
        }

        public void setUsedCount(int usedCount) {
            this.usedCount = usedCount;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public Integer getCouponUserId() {
            return couponUserId;
        }

        public void setCouponUserId(Integer couponUserId) {
            this.couponUserId = couponUserId;
        }

        public Integer getStatus() {
            return status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }

        public Integer getGetType() {
            return getType;
        }

        public void setGetType(Integer getType) {
            this.getType = getType;
        }

        public String getUseTime() {
            return useTime;
        }

        public void setUseTime(String useTime) {
            this.useTime = useTime;
        }

        public String getEffectTime() {
            return effectTime;
        }

        public void setEffectTime(String effectTime) {
            this.effectTime = effectTime;
        }

        public String getExpiredTime() {
            return expiredTime;
        }

        public void setExpiredTime(String expiredTime) {
            this.expiredTime = expiredTime;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public Integer getRandomMoney() {
            return randomMoney;
        }

        public void setRandomMoney(Integer randomMoney) {
            this.randomMoney = randomMoney;
        }

        public String getExtendId() {
            return extendId;
        }

        public void setExtendId(String extendId) {
            this.extendId = extendId;
        }

        public String getExtendCode() {
            return extendCode;
        }

        public void setExtendCode(String extendCode) {
            this.extendCode = extendCode;
        }

        public Integer getCouponId() {
            return couponId;
        }

        public void setCouponId(Integer couponId) {
            this.couponId = couponId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Integer getCouponRuleId() {
            return couponRuleId;
        }

        public void setCouponRuleId(Integer couponRuleId) {
            this.couponRuleId = couponRuleId;
        }

        public Integer getCostPartnerId() {
            return costPartnerId;
        }

        public void setCostPartnerId(Integer costPartnerId) {
            this.costPartnerId = costPartnerId;
        }

        public Integer getSceneId() {
            return sceneId;
        }

        public void setSceneId(Integer sceneId) {
            this.sceneId = sceneId;
        }

        public Integer getCount() {
            return count;
        }

        public void setCount(Integer count) {
            this.count = count;
        }

        public Integer getLimitStart() {
            return limitStart;
        }

        public void setLimitStart(Integer limitStart) {
            this.limitStart = limitStart;
        }

        public Integer getLimitEnd() {
            return limitEnd;
        }

        public void setLimitEnd(Integer limitEnd) {
            this.limitEnd = limitEnd;
        }

        public Integer getValidType() {
            return validType;
        }

        public void setValidType(Integer validType) {
            this.validType = validType;
        }

        public Integer getValidValue() {
            return validValue;
        }

        public void setValidValue(Integer validValue) {
            this.validValue = validValue;
        }

        public String getSystemUserId() {
            return systemUserId;
        }

        public void setSystemUserId(String systemUserId) {
            this.systemUserId = systemUserId;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public Integer getPreferentialMoney() {
            return preferentialMoney;
        }

        public void setPreferentialMoney(Integer preferentialMoney) {
            this.preferentialMoney = preferentialMoney;
        }

        public String getRuleName() {
            return ruleName;
        }

        public void setRuleName(String ruleName) {
            this.ruleName = ruleName;
        }

        public Integer getMinTradeMoney() {
            return minTradeMoney;
        }

        public void setMinTradeMoney(Integer minTradeMoney) {
            this.minTradeMoney = minTradeMoney;
        }

        public Integer getDiscountRate() {
            return discountRate;
        }

        public void setDiscountRate(Integer discountRate) {
            this.discountRate = discountRate;
        }

        public Integer getMaxFee() {
            return maxFee;
        }

        public void setMaxFee(Integer maxFee) {
            this.maxFee = maxFee;
        }

        public Integer getRepeatable() {
            return repeatable;
        }

        public void setRepeatable(Integer repeatable) {
            this.repeatable = repeatable;
        }

        public Integer getMinFee() {
            return minFee;
        }

        public void setMinFee(Integer minFee) {
            this.minFee = minFee;
        }

        public Integer getCombine() {
            return combine;
        }

        public void setCombine(Integer combine) {
            this.combine = combine;
        }

        public Integer getRepeatableCount() {
            return repeatableCount;
        }

        public void setRepeatableCount(Integer repeatableCount) {
            this.repeatableCount = repeatableCount;
        }

        public Integer getCombineCount() {
            return combineCount;
        }

        public void setCombineCount(Integer combineCount) {
            this.combineCount = combineCount;
        }

        public Integer getBindType() {
            return bindType;
        }

        public void setBindType(Integer bindType) {
            this.bindType = bindType;
        }

        public String getMerchantId() {
            return merchantId;
        }

        public void setMerchantId(String merchantId) {
            this.merchantId = merchantId;
        }

        public String getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(String goodsId) {
            this.goodsId = goodsId;
        }

        public String getRegionId() {
            return regionId;
        }

        public void setRegionId(String regionId) {
            this.regionId = regionId;
        }

        public Integer getCategoryId() {
            return categoryId;
        }

        public void setCategoryId(Integer categoryId) {
            this.categoryId = categoryId;
        }

        public Integer getActivityId() {
            return activityId;
        }

        public void setActivityId(Integer activityId) {
            this.activityId = activityId;
        }
    }

}
